package org.ch00.test06.demo02;

/**
 * @author ZQX
 * @date 2025-03-04
 */
public class MainTest {
    public static void main(String[] args) {
        LaoYing laoYing = new LaoYing();
        YanZi yanZi = new YanZi();
        MaQue maQue = new MaQue();
        TuoNiao tuoNiao = new TuoNiao();

        laoYing.fly();
        yanZi.fly();
        maQue.fly();
        // 错误
        // tuoNiao.fly() ;
    }
}
